//
//  SectionLabelCollectionViewCell.m
//  Youhuiju
//
//  Created by 余尚飞 on 16/8/9.
//  Copyright © 2016年 yutenys. All rights reserved.
//

#import "SectionLabelCollectionViewCell.h"

@implementation SectionLabelCollectionViewCell

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
    self.layer.cornerRadius = 3 * FitH;
}
-(void)setDataString:(NSString *)dataString
{
//    NSDictionary *dic = [NSDictionary dictionaryWithObjectsAndKeys:[UIFont systemFontOfSize:13 * FitH], NSFontAttributeName, nil];
//    CGRect rect = [dataString boundingRectWithSize:CGSizeMake(CGFLOAT_MAX, 24 * FitH) options:NSStringDrawingUsesLineFragmentOrigin attributes:dic context:nil];
    self.titleLabel.text = dataString;
    self.titleLabel.font = [UIFont systemFontOfSize:13 * FitH];
    
//    self.titleLabel.frame = CGRectMake(0, 0,rect.size.width * FitW + 0 , 24 * FitH);
    
//    self.layer.cornerRadius = 4 * FitH;
}
@end
